package com.study.ssh.dao;

import java.util.List;

import com.study.ssh.model.Department;

public class DepartmentDao extends BaseDao{
	
	public List<Department> getAll() {
		
		String hql = "From Department";
		return getSession().createQuery(hql).list();
	}
	
}
